
package com.viweb.storemanager.core;

import java.awt.Component;
import java.awt.Cursor;


public class CursorManager {

    /** Creates a new instance of CursorManager */
    public CursorManager() {
    }

    public static void setDefaultCursor(Component component) {
        component.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
    }

    public static void setWaitCursor(Component component) {
        component.setCursor(new Cursor(Cursor.WAIT_CURSOR));
    }

    public static void setHandCursor(Component component) {
        component.setCursor(new Cursor(Cursor.HAND_CURSOR));
    }

    public static void setMoveCursor(Component component) {
        component.setCursor(new Cursor(Cursor.MOVE_CURSOR));
    }
}
